package com.yzh.openai.domain.openai.service;

import com.yzh.openai.domain.openai.model.aggregates.ChatProcessAggregate;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

public interface IChatService {
    
    ResponseBodyEmitter completions(ChatProcessAggregate chatProcessAggregate) throws IOException, ExecutionException;
}
